#ifndef __OFP_DEV__
#define __OFP_DEV__

#include "uapi_usb.h"
#include "ofp_config.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
    ofp_drv_conf drv_cfg;
    uapi_usb_handle usb_handle;
    uapi_usb_handle usb_boot_handle;
    sqlite3 *db;
} ofp_dev;



ofp_dev * bio_dev_new(void);
void bio_dev_free(ofp_dev *dev);



#ifdef __cplusplus
}
#endif

#endif

